<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <link rel="stylesheet" href="{$smarty.const.CSS_URL}myfollow.css"/>
</head>
<body style="background: url('{$smarty.const.IMG_URL}waver.png')">
    {foreach $info as $k=>$v}
    <div class="record">
        <div class="record_title">
            <a href="{$smarty.const.__MODULE__}/index/other/user_id/{$v.user_id}">
                {$v.username}
            </a>
        </div>
        <div class="record_date">
            {date("y-m-d H:i:s",$v.message_time)}
        </div>
        <div class="record_pic">
            <img src="{$smarty.const.IMG_UPLOAD}{$v.message_small_img}"
                 onclick="this.src='{$smarty.const.IMG_UPLOAD}{$v.message_big_img}'"
                 ondblclick="this.src='{$smarty.const.IMG_UPLOAD}{$v.message_small_img}'"
                 title="单击看大图，双击看小图"/>
        </div>
        <div class="record_content">
            {$v.message_introduce}
        </div>
        <div class="record_response">
            <a href="{$smarty.const.__CONTROLLER__}/del_message/message_id/{$v.message_id}">
                删除
            </a>&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="{$smarty.const.__MODULE__}/index/comment/message_id/{$v.message_id}">
                评论 {$v.comment_count}
            </a>
        </div>
        <!--以下是一张大图片的显示，我希望像微博一样，点击小图像能放大变成大图像。-->
        <!--<td><img src="{$smarty.const.IMG_UPLOAD}{$v.goods_big_img}" height="60" width="60"></td>-->
        <!--<td><a href="{$smarty.const.__MODULE__}/goods/update/goods_id/{$v.goods_id}">修改</a></td>-->
        <!--<td><a href="{$smarty.const.__MODULE__}/goods/del/goods_id/{$v.goods_id}" onclick="delete_product(1)">删除</a></td>-->
    </div>
    {/foreach}
    <div class="record_num">
        {$pagelist}
    </div>
</body>
</html>